@layout("/common/_container.html"){
<div class="ibox float-e-margins ">
    <div class="ibox-content" style="padding: 0">
        <div class="numStatistics">
            <div>收费项目管理</div>
            <div onclick="displayHiding('PayServiceTable')" id="zoom">
                <img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/open.png" alt="">
                <img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/shrink.png" alt="" style="display: none">
                <span>条件展开</span>
            </div>
        </div>
        <div class="divFlex" style="display: none">
            <div class="flex_one">
                <div>科室</div>
                <div>一级项目</div>
                <div>上架状态</div>
                <div>是否算成交</div>
                <div>是否是前台可开单</div>
            </div>
            <div class="flex_two">
                <div>
                    <select id="treatmentUnit" onchange="memberPayService.getFirstLevelProjectByTreatmentUnit()">
                        <option value="">--请选择科室--</option>
                        @for(str in departmentList){
                        <option value="${str.department}">${str.department}</option>
                        @}
                    </select>
                </div>
                <div>
                    <select id="firstLevelProjectDivsd" onchange="memberPayService.search()"><option value="">请选择</option></select>
                </div>
                <div>
                    <select id="isUpperStatus" onchange="memberPayService.search()">
                        <option value="">请选择</option>
                        <option value="1">已上架</option>
                        <option value="0">未上架</option>
                    </select>
                </div>
                <div>
                    <select id="isDeal" onchange="memberPayService.search()">
                        <option value="">请选择</option>
                        <option value="1">算</option>
                        <option value="0">否</option>
                    </select>
                </div>
                <div>
                    <select id="isTeethProject" onchange="memberPayService.search()">
                        <option value="">请选择</option>
                        <option value="1">是</option>
                        <option value="0">否</option>
                    </select>
                </div>
            </div>
        </div>
        <div class="timeButton">
            <div class="timeBox">
                <div>
                    <input type="text" id="payServiceName" placeholder="输入一级项目" autocomplete="off">
                </div>
                <div>
                    <button type="button" class="btn" onclick="memberPayService.search()"><span>搜索</span></button>
                    <button type="button" class="btn" onclick="memberPayService.resetSearch()"><span>重置</span></button>
                </div>
            </div>
            <div class="buttonBox" style="flex: 2.5;">
                <div>
                    <button type="button" class="btn" onclick="memberPayService.freeService()"><span>设置会员免费次数</span></button>
                </div>
            </div>
        </div>
        <div class="tableBox">
            <#table id="MemberPayServiceTable"/>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/basicData/payService/memberPayService.js?v=20200718"></script>
@}